﻿/* jQuery Dialog
----------------------------------------------------------*/
.ui-widget-overlay {
    background: #000;
    bottom: 0;
    filter: alpha(opacity=30);
    left: 0;
    opacity: 0.3;
    position: absolute;
    right: 0;
    top: 0;
}

.ui-dialog {
    background: #F6F6F6;
    left: 0 !important;
    padding: 0;
    width: 100% !important;
}

.ui-dialog-titlebar {
    display: none;
}

.ui-dialog .ui-dialog-content {
    background: #FFF;
    margin: 0 auto;
    max-height: 500px;
    overflow: auto;
    padding: 20px;
    width: 840px !important;
}

.iframe-dialog .ui-dialog-content {
    overflow: hidden;
    padding: 0;
    position: relative;
}

    .iframe-dialog .ui-dialog-content iframe {
        left: 0;
        position: absolute;
        top: 0;
    }

    .iframe-dialog .ui-dialog-content > iframe.fullscreen {
        bottom: 0;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
    }

.ui-dialog.warning-dialog,
.ui-dialog.warning-dialog .ui-dialog-content {
    background: #FF0045;
    color: #FFF;
}

    .ui-dialog.warning-dialog .ui-dialog-content {
        overflow: hidden;
        width: 700px !important;
    }

/* jQuery Datepicker
----------------------------------------------------------*/
.ui-datepicker {
    background: #FFF;
    border: 2px solid #00709F;
}

.ui-datepicker-header {
    border-bottom: 1px solid #00709F;
    font-weight: bold;
}

    .ui-datepicker-header .ui-icon {
        background: url(images/arrows.png) no-repeat;
        height: 8px;
        margin: -4px 0 0 -3px !important;
        width: 6px;
    }

    .ui-datepicker-header .ui-corner-all {
        background: #F5F5F5;
    }

.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
    top: 2px;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
    top: 2px;
}

.ui-datepicker-header .ui-corner-all:hover {
    background: #E1E1E1;
    cursor: pointer;
}

.ui-datepicker-header .ui-datepicker-prev .ui-icon {
    background-position: -12px -16px;
}

.ui-datepicker-header .ui-datepicker-next .ui-icon {
    background-position: -18px -16px;
}

.ui-datepicker-calendar .ui-state-default {
    border: 1px solid transparent;
    color: #666;
    height: 16px;
    text-align: center;
    width: 16px;
}

    .ui-datepicker-calendar .ui-state-default:hover {
        background: #D5E1F2;
        border: 1px solid #D5E1F2;
    }

.ui-datepicker-calendar .ui-state-highlight {
    background: #E1E1E1;
    border: 1px solid #CCC;
}

.ui-datepicker-calendar .ui-state-active {
    background: #C2D5F2;
    border: 1px solid #C2D5F2;
}

/* jQuery tabs
----------------------------------------------------------*/
.tabs.ui-tabs .ui-tabs-nav,
.tabs.ui-tabs .ui-tabs-nav li a {
    padding: 0;
}

    .tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active {
        padding-bottom: 0;
        margin-bottom: 0;
    }

.tabs li.ui-tabs-active a {
    background: #5EA8DE;
    color: #FFF;
}

.tabs li.ui-tabs-active .arrow {
    display: block;
}

/* Autocomplete
----------------------------------------------------------*/
.ui-autocomplete {
    padding: 1px;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
    background: #fff;
}

.ui-menu .ui-menu-item a.ui-state-focus {
    margin: 0;
    background: #0078b1;
    color: #fff;
}

span.jquery-ui-spinner-rewrite input[type="text"] {
    margin-left: 0;
    padding: 3px 9px;
}

span.jquery-ui-spinner-rewrite .ui-spinner-input {
    margin: 0;
}

span.jquery-ui-spinner-rewrite .ui-spinner-button {
    color: #606060;
    font-size: 10px;
    text-align: center;
    height: 13px;
    border-left: 1px solid #aaa;
    background: #eee;
}

    span.jquery-ui-spinner-rewrite .ui-spinner-button.ui-state-hover {
        color: #aaa;
    }

span.jquery-ui-spinner-rewrite .ui-icon {
    text-indent: 0;
    overflow: hidden;
    margin-left: -5px;
    left: 50%;
}

span.jquery-ui-spinner-rewrite .ui-spinner-up {
    top: 1px;
    right: 1px;
}

span.jquery-ui-spinner-rewrite .ui-spinner-down {
    right: 1px;
    bottom: 1px;
}

.ui-tooltip {
    background: #fff;
}

.ui-datepicker {
    width: 230px;
}
